package com.wolf.service;

import com.wolf.pojo.Wl_commodity_placeorigin;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;
import java.util.List;

public interface Wl_commodity_placeoriginService {
    @Transactional(propagation = Propagation.REQUIRED)
    int insert(Wl_commodity_placeorigin record);

    Wl_commodity_placeorigin selectByPrimaryKey(String id);

    @Transactional(propagation = Propagation.REQUIRED)
    int updateByPrimaryKey(Wl_commodity_placeorigin record);

    List<Wl_commodity_placeorigin> getAll();

    List<Wl_commodity_placeorigin> fuzzyQuery(@Param("chnorigin")String chnorigin, @Param("engorigin")String engorigin, @Param("beginTime")String beginTime, @Param("endTime")String endTime, @Param("status")String status);

    int insertSelective(Wl_commodity_placeorigin record);

    int updateByPrimaryKeySelective(Wl_commodity_placeorigin record);
}